<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>4-2 行内元素</title>
  <style>
    a,
    span,
    label,
    strong,
    em,
    pre {
      border: solid 1px orange;
      width: 300px;
      /* 设置无效 */
      height: 100px;
      /* 设置无效 */
      margin-top: 10px;
      /* 设置无效 */
      padding-left: 40px;
    }
  </style>
</head>

<body>
  <a>a...</a>
  <span>span...</span>
  <label>label...</label>
  <strong>strong...</strong>
  <em>em...</em>
</body>

</html>